package com.albaba.designpattern.factory.text_003.entity;

import java.util.Map;

/**
 * @Description: 获奖信息实体类
 * @Author zx
 * @Date 2025/2/19 10:27
 * @Version 1.0
 */
public class AwardInfo {

    // 用户id
    private String uid;

    // 奖品类型 1 打折券, 2 优酷会员, 3 小礼品
    private String awardTypes;

    // 奖品编号
    private String awardNumber;

    // 额外信息
    private Map<String, String> extMap;

    public AwardInfo() {

    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getAwardTypes() {
        return awardTypes;
    }

    public void setAwardTypes(String awardTypes) {
        this.awardTypes = awardTypes;
    }

    public String getAwardNumber() {
        return awardNumber;
    }

    public void setAwardNumber(String awardNumber) {
        this.awardNumber = awardNumber;
    }

    public Map<String, String> getExtMap() {
        return extMap;
    }

    public void setExtMap(Map<String, String> extMap) {
        this.extMap = extMap;
    }

    @Override
    public String toString() {
        return "AwardInfo{" +
                "uid='" + uid + '\'' +
                ", awardTypes='" + awardTypes + '\'' +
                ", awardNumber='" + awardNumber + '\'' +
                ", extMap=" + extMap +
                '}';
    }
}
